package com.fognl.core.net.handler;

/** Base Request implementation. */
public abstract class AbstractRequest implements Request
{
	/** Default timeout is "never time out". */
	private long timeout = Request.TIMEOUT_INFINITE;
	private RequestHandle handle;

	public long getTimeout()
	{
		return timeout;
	}

	public Request setTimeout(long timeout)
	{
		this.timeout = timeout;
		return this;
	}

	public RequestHandle getHandle() 	{		return handle;	}
	public Request setHandle(RequestHandle handle)
	{
		this.handle = handle;
		return this;
	}
}
